package com.hfb.mashibing.alip8.diamondsquarealgorithm.class10;

/**
 * 边的描述
 */
public class Edge {

    // 权重
    public int weight;
    // 边的起点
    public Node from;
    // 边的终点
    public Node to;

    public Edge(int weight, Node from, Node to) {
        this.weight = weight;
        this.from = from;
        this.to = to;
    }

}
